$OpenBSD: patch-basic_source_runtime_methods_cxx,v 1.3 2015/07/09 17:05:14 robert Exp $
--- basic/source/runtime/methods.cxx.orig.port	Tue Jun 23 22:06:25 2015
+++ basic/source/runtime/methods.cxx	Wed Jul  8 22:00:48 2015
@@ -86,6 +86,7 @@ using namespace com::sun::star::uno;
 #include <stdlib.h>
 #include <ctype.h>
 #include <errno.h>
+#include <unistd.h>
 
 #include "sbobjmod.hxx"
 #include "sbxmod.hxx"
